//
//  UILabel+GEE_fastInit.h
//  KX11UI
//
//  Created by HYC on 2021/2/20.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UILabel (Tools_HYC_Neusoft)
/*
 举例
 
 UILabel *label = [UILabel.alloc.init
     .H_text(@"这个label666")
     .H_frame(CGRectMake(0, 0, 100, 200))
     .H_backgroundColor(UIColor.greenColor)
     .H_textColor(@"333333".color)
     .H_textAlignment(NSTextAlignmentCenter)
     .H_Font([@"13" weight:UIFontWeightBold])
     .H_addSubViewFoSuper(self.view)
     .H_numberOfLines(0) mas_makeConstraints:^(MASConstraintMaker *make) {
         
         
         make.edges.insets(UIEdgeInsetsMake(0, 0, 0, 0));
 }];
 
 */

/// 链式语法--frame
- (UILabel *(^)(CGRect T)) H_frame;

/// 链式语法--text
- (UILabel *(^)(NSString * T)) H_text;

/// 链式语法--font
- (UILabel *(^)(UIFont *T)) H_Font;

/// 链式语法--字体颜色
- (UILabel *(^)(UIColor * T)) H_textColor;

/// 链式语法--背景颜色
- (UILabel *(^)(UIColor * T)) H_backgroundColor;
//- (UILabel *(^)(NSString * T)) H_textColorStr;//废弃  建议使用H_textColor

/// 链式语法--换行
- (UILabel *(^)(NSInteger T)) H_numberOfLines;

/// 链式语法--字体居中居左居右
- (UILabel *(^)(NSTextAlignment T)) H_textAlignment;

/// 链式语法--添加self到指定view上
- (UILabel *(^)(UIView * T)) H_addSubViewFoSuper;


@end

NS_ASSUME_NONNULL_END
